<div class="m-container">
    <div class="layui-card">
        <div class="layui-card-header">实体类列表</div>
        <div class="layui-card-body">
            <div class="search-wrapper">
                <input class="layui-input" id="searchContent" autocomplete="off" placeholder="输入搜索内容">
                <button class="layui-btn" id="searchBtn" title="搜索">
                    <i class="layui-icon layui-icon-search"></i>
                </button>
                <button class="layui-btn" id="addModelBtn">
                    <i class="layui-icon layui-icon-add-circle"></i> 新增实体类
                </button>
                <button class="layui-btn" id="generateCodeBtn">
                    <i class="layui-icon layui-icon-code-circle"></i> 生成代码
                </button>
                <button class="layui-btn" id="refreshBtn">
                    <i class="layui-icon layui-icon-refresh"></i> 重新加载
                </button>
            </div>
            <table id="model_table" lay-filter="model-table"></table>
        </div>
    </div>
</div>

<script type="text/html" id="modelTableOptColumn">
    <div class="layui-btn-group">
        <button type="button" class="layui-btn layui-btn-xs" lay-event="edit" title="编辑">编辑</button>
        <button type="button" class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del" title="删除">删除</button>
        <button type="button" class="layui-btn layui-btn-normal layui-btn-xs" lay-event="config" title="配置模型明细">配置</button>
    </div>
</script>

<script type="text/javascript" src="/static/js/model.js"></script>